﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Markup;
using XamlDom.Runtime;

namespace XamlDom
{
    public class XamlDomInitializer
    {
        public static void Init()
        {
            InitAssembly();
        }

        private static void InitAssembly()
        {
            AssemblyLoader.RegisterAssembly(typeof(MarkupExtension).Assembly);
            AssemblyLoader.RegisterAssembly(typeof(IAddChild).Assembly);
            AssemblyLoader.RegisterAssembly(typeof(XamlReader).Assembly);
        }
    }
}
